﻿using Microsoft.EntityFrameworkCore;
using WMS.Domain;

namespace WMS.Infrasturcture
{
    /// <summary>
    ///    数据库上下文
    /// </summary>
    public class DBcontext : DbContext
    {
        /// <summary>
        ///  构造函数
        /// </summary>
        /// <param name="options"></param>
        public DBcontext(DbContextOptions options) : base(options)
        {
        }
        public DbSet<HandlerInfo> handlerInfos  { get; set; }
        public DbSet<Inventory_check_details> inventory_Check_Details  { get; set; }
        public DbSet<InventoryInfo> inventoryInfos  { get; set; }
        public DbSet<ProductInfo> productInfos { get; set; }
        public DbSet<StoragelocationInfo> storagelocationInfos  { get; set;}
        public DbSet<StorageWarehouse> storageWarehouses { get; set; }
        public DbSet<Uploadattachment> uploadattachments { get; set; }
        public DbSet<WarehouseDept> warehouseDepts { get; set; }
        public DbSet<WarehouseInfo> warehouseInfos { get; set; }
        public DbSet<WarehouseSupervisor> warehouseSupervisors { get; set; }
        public DbSet<InventoryTypeInfo> inventoryTypeInfos { get; set; }
        public DbSet<Unit> units { get; set; }

    }
}
